package com.lcxw.hxzb.friendcircle.project.system.mapper;

import com.lcxw.hxzb.friendcircle.project.system.domain.Gift;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface GiftMapper {

    /**
     * 查询所有已经启用的礼物
     */
    @Select("Select * from ywpd_gift where enable = 1 order by needcoin asc")
    List<Gift> selectAllEnableGift() throws Exception;

}
